package chinaums.service.impl;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import chinaums.dao.InsertInfoMapper;
import chinaums.entity.InsertInfo;
import chinaums.service.InsertInfoService;

@Service("insertInfoService")
public class InsertInfoServiceImpl implements InsertInfoService {
	// @Autowired
	// private InsertInfoDao insertInfoDao;

	@Resource
	private InsertInfoMapper insertInfoDao;

	@Override
	public long insertInfo(Map<String, Object> map) {
		return insertInfoDao.insertInfo(map);
	}

	@Override
	public void insertInfoForFtp(Map<String, Object> map) {
		insertInfoDao.insertInfoForFtp(map);
	}

	@Override
	public void insertInfoForFtp(InsertInfo s) {
		insertInfoDao.insertInfoForFtp(s);
	}

}
